//go:build wireinject
// +build wireinject

package cmd

import (
	"github.com/google/wire"
	"stwin.net/demo/internal/biz"
	"stwin.net/demo/internal/data"
	"stwin.net/demo/internal/server"
	"stwin.net/demo/internal/service"
	"stwin.net/zoro/zconfig"
	"stwin.net/zoro/zlog"
	"stwin.net/zoro/zoro"
)

func wireApp(zconfig.IZoroConfig, string, *zconfig.Data) (*zoro.Zoro, func()) {
	panic(wire.Build(zlog.ZLogger, data.ProviderSet, biz.ProviderSet, service.ProviderSet, server.ProviderSet, zoro.ProviderSet))
}
